package com.jfok.server.hibernate.gpgy;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import com.jfok.server.common.annotation.FieldDefine;
import com.jfok.server.common.annotation.TableDefine;
import com.jfok.server.hibernate.superclass._InputInfoAbstract;

@Entity  
@TableDefine(group = "辅助办公", id = 8080, title = "资产登记")  
public class Assets extends _InputInfoAbstract implements Serializable {  
  
    @Id  
    @FieldDefine(title = "编码", number = 10, fieldGroup = "基本信息")  
    @Column(nullable = false, length = 10)  
    private Integer tf_assetsId;  
  
    public Integer getTf_assetsId() {
		return tf_assetsId;
	}

	public void setTf_assetsId(Integer tf_assetsId) {
		this.tf_assetsId = tf_assetsId;
	}

	public String getTf_name() {
		return tf_name;
	}

	public void setTf_name(String tf_name) {
		this.tf_name = tf_name;
	}

	public int getTf_count() {
		return tf_count;
	}

	public void setTf_count(int tf_count) {
		this.tf_count = tf_count;
	}


	public String getTf_remark() {
		return tf_remark;
	}

	public void setTf_remark(String tf_remark) {
		this.tf_remark = tf_remark;
	}

	@FieldDefine(title = "名称", number = 20, nameField = true, fieldGroup = "基本信息")  
    @Column(nullable = false, length = 50)  
    private String tf_name;  
  
    @FieldDefine(title = "数量", number = 30, fieldGroup = "基本信息")  
    @Column(length = 10)  
    private int tf_count;  
  
      
    @FieldDefine(title = "备注", number = 40, fieldGroup = "基本信息")  
    private String tf_remark;  
    
    @FieldDefine(title = "单位", number = 50, fieldGroup = "基本信息")  
    private String tf_unit;  
      
    public String getTf_unit() {
		return tf_unit;
	}

	public void setTf_unit(String tf_unit) {
		this.tf_unit = tf_unit;
	}

	public Assets(){  
          
    }  
}